Probably the same Java would do it, automatic conversion of integer to string.
C# is almost certainly smart enough to see that you're defining a string, and converting the integer to its string representation.

In Java the following
Code:
String x = "" + 1;
yields a String with the value "1".